package exception;

import utils.ResponseCode;

public class LoginException extends Exception{
    private ResponseCode error;
    public  ResponseCode getError(){
     return  error;
 }
    public  LoginException(ResponseCode error){
        super(error.getDesc());
        this.error=error;
    }
}
